
package com.thon.service.system;

import java.util.List;

import com.thon.dao.util.Page;
import com.thon.entity.system.SystemDic;
import com.thon.entity.system.SystemDicData;
import com.thon.entity.util.IdEntity;

/**
 * @file DicInfoService.java
 * @author manpiaoyi
 * @email manpiaoyi@126.com
 * @date 2014-10-14
 * @description 系统字典服务
 */
public interface SystemDicService {
	
	public SystemDic read(Integer id);	
	
	public List<SystemDic> readList();
	
	public Page<SystemDic> readListPage(Integer pageNo,Integer pageSize);

    public String create(SystemDic dicInfo);
    
    public String delete(Integer id);
    
    public String update(SystemDic dicInfo);
    
    public SystemDicData readDicData(Integer id);	
	
	public List<SystemDicData> readDicDataList();
	
	public Page<SystemDicData> readDicDataListPage(Integer pageNo,Integer pageSize);
	
	public Page<SystemDicData> selectDicDataListPage(String by,Object val,Integer pageNo,Integer pageSize);

    public String createDicData(SystemDicData dicInfo);
    
    public String deleteDicData(Integer id);
    
    public String updateDicData(SystemDicData dicInfo);
    
    public List<SystemDicData> getDicData(String by, Object val);
    
    public boolean checkSystemDicUnique(String by, Object val);    

    
    public boolean checkSystemDicDataUnique(String by, Object val);
    
 
    
}